<div class="leiturasM02s form">
<?php echo $this->Form->create('LeiturasM02'); ?>
	<fieldset>
		<legend>Adicionar leitura: <?php echo $estacao['nome'];?></legend>
	<?php
		echo $this->Form->input('hora', array('timeFormat' => 24));
		echo $this->Form->input('temp_out');
		echo $this->Form->input('hi_temp');
		echo $this->Form->input('low_temp');
		echo $this->Form->input('out_hum');
		echo $this->Form->input('dew_pt');
		echo $this->Form->input('wind_speed');
		echo $this->Form->input('wind_dir');
		echo $this->Form->input('wind_run');
		echo $this->Form->input('hi_speed');
		echo $this->Form->input('hi_dir');
		echo $this->Form->input('wind_chill');
		echo $this->Form->input('heat_index');
		echo $this->Form->input('thw_index');
		echo $this->Form->input('bar');
		echo $this->Form->input('rain');
		echo $this->Form->input('rain_rate');
		echo $this->Form->input('heat_d_d');
		echo $this->Form->input('cool_d_d');
		echo $this->Form->input('in_temp');
		echo $this->Form->input('in_hum');
		echo $this->Form->input('in_dew');
		echo $this->Form->input('in_heat');
		echo $this->Form->input('in_emc');
		echo $this->Form->input('in_air_density');
		echo $this->Form->input('wind_samp');
		echo $this->Form->input('wind_tx');
		echo $this->Form->input('iss_recept');
		echo $this->Form->input('arc_int');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link('Listar leituras', array('action' => 'index', 'pesquisador' => true, $estacao['id'])); ?></li>
		<li><?php echo $this->Html->link('Listar estações', array('controller' => 'estacoes', 'action' => 'index', 'pesquisador' => true)); ?> </li>
		<?php if ($hasPermission['admin']): ?>
			<li><?php echo $this->Html->link('Nova estação', array('controller' => 'estacoes', 'action' => 'add', 'admin' => true)); ?> </li>
		<?php endif; ?>
	</ul>
</div>